package com.yy.param;

import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * @author lyy
 * @date 2021/12/09
 */
@Data
public class StudentParam {
    @NotNull(message = "studentId不能为空")
    private Integer studentId;
    @NotNull(message = "studentName不能为空")
    private String studentName;
    @Valid
    @NotNull(message = "classParam不能为空")
    private ClassParam classParam;
}
